Repository navigation
Support MassedCompute network volumes - #4553
Draft
peterschmidt85 wants to merge 8 commits into
Draft
peterschmidt85 wants to merge 8 commits into
peterschmidt85 wants to merge 8 commits into
Conversation
peterschmidt85
force-pushed
the
pr_massedcompute_volumes
branch
4 times, most recently
from
November 27, 2026 14:44
9ba585f to
eeb0a22
Compare
peterschmidt85
force-pushed
the
pr_massedcompute_volumes
branch
from
December 1, 2026 09:57
eeb0a22 to
9ea1266
Compare
added 7 commits
December 1, 2026 14:13
Run the terminal flush on the instance, fence dstack writers, and record its result before acknowledging completion. Bound mounted-instance readiness and termination calls separately from shared provisioning while keeping the original database lease.
Record stable mount identities before publishing the hostname, and compare them on the same file descriptor that binds or flushes a volume. Restrict the opted-in shim to the management account's Unix socket over SSH.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds experimental
type: volumesupport to the MassedCompute VM backend (#4533). Users can create Persistent Storage or register an existing volume by UUID.Warning
MassedCompute can report a successful sync after an upload fails. For example, a VM may lose its connection to storage while a job overwrites or deletes a file. If dstack receives success and terminates the VM before the change reaches storage, the next VM can read the old contents or see the deleted file reappear. We’ve reported this to MassedCompute. Storage documentation · GeeseFS directory sync
MassedCompute backend
PROVISIONINGbefore creating managed MassedCompute storage. Retries look up the original volume by name. A crash before sending the request can leave it pending. Timed auto-cleanup is disabled because a second registration can reference the same storage ([Bug]: Volume auto-cleanup marks a managed volume for deletion while it is in use under another name #4537).Core changes
TERMINATINGand can recover after a lost reply or restart. On a reported error it keeps the VM and retries. Compute billing continues. Attachments are released once the provider confirms the VM is gone.Upgrade the CLI and all server replicas before first use. An older replica can delete the VM without flushing its volumes.